function data = transformData2DProj(state, data)

trans = state(1:2);
proj = reshape(state(3:6), 2, 2);
   
data = [proj*data']' + repmat(trans, size(data, 1), 1);
